package homework;

public class Student6 {
		private String name;
		private String gender;
		private int age;
		private int state;
		public String getName() {
			return name;
		}
		public void setName(String name) {
			this.name = name;
		}
		public String getGender() {
			return gender;
		}
		public void setGender(String gender) {
			this.gender = gender;
		}
		public int getAge() {
			return age;
		}
		public void setAge(int age) {
			this.age = age;
		}
		public int getState() {
			return state;
		}
		public void setState(int state) {
			this.state = state;
		}
		public Student6(String name, String gender, int age, int state) {
			super();
			this.name = name;
			this.gender = gender;
			this.age = age;
			this.state = state;
		}
		@Override
		public String toString() {
			return name + "-" + gender + "-" + age + "-" + state;
		}
		public Student6() {
			super();
		}
		

}


